package com.bw.zhuangao5___day002.Fragment.Movies.One;

import com.bw.mvp.P.BannerPretenter;

import java.util.List;

/**
 * 类名： MoviesOne_Pretenter
 * 作者： Android工程师杨晨
 * 日期： 2021/9/28 15:01
 * DAO：  ZhuanGao5___Day002
 */
public class MoviesOne_Pretenter  extends BannerPretenter<MoviesOne_Contion.oneview,MoviesOne_Contion.onemodel> {

    public MoviesOne_Pretenter(MoviesOne_Contion.oneview view, MoviesOne_Contion.onemodel model) {
        super(view, model);
    }

    public void dogetmoviesone(String name)
    {
        model.getonemodel(name, new MoviesOne_Callbck() {
            @Override
            public void sueess(List<MoviesOne_JavaBen.DataBean> dataBeans) {
                view.getoneview(dataBeans);
            }
        });
    }
}
